#include "zd_sec_mgr.h"
#include "mfg_Stack.h"
#include "mfg.h"
#include "string.h"
#ifdef BDB_REPORTING
    #include "bdb_reporting.h"
#endif

#include "zstackapi.h"

/* macro */

/* variable */
mfgMsgHdr_t *mfgMsgHdrHead = NULL;
uint8 mfgTaskId = 0xFF;

#ifdef BDB_REPORTING
void MFG_SendReportCallback( uint8 srcEP, afAddrType_t *dstAddr, uint16 clusterID,
                            zclReportCmd_t *reportCmd, uint8 direction, uint8 disableDefaultRsp,
                            uint16 manuCode, uint8 seqNum );

#endif

/* function */

/*
* @fn          MFG_StackInit
*
* @brief       
*
* @param       destTaskId - task id
*
* @return      none
*
* */
void MFG_StackInit(uint8 destTaskId)
{
  mfgTaskId = destTaskId;
  MFG_InitCallback();
}

/*
* @fn          MFG_TaskId
*
* @brief       
*
* @param       none
*
* @return      destTaskId - task id
*
* */
uint8_t MFG_TaskId(void)
{
  return mfgTaskId;
}



